Adwaita: spinbutton fixes
authorLapo Calamandrei <calamandrei@gmail.com>
Thu, 21 Apr 2016 14:25:05 +0000 (16:25 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Thu, 21 Apr 2016 14:25:05 +0000 (16:25 +0200)
reset background-color on backdrop disable buttons and entry node.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 0ef2110e118c99ee4b9143e516b9967b9ddcc47c..b5889f45d529a4bd66bcd87c2838924ff4ab1fb2 100644 (file)
@@ -1054,6 +1054,8 @@ spinbutton {
       border: none;
       border-radius: 0;
       box-shadow: none;
+
+      &:backdrop:disabled { background-color: transparent; }
     }
 
     button {
@@ -1094,7 +1096,7 @@ spinbutton {
 
       &:backdrop:disabled {
         color: transparentize($backdrop_insensitive_color,0.7);
-        background-image: none;
+        background-color: transparent;
         border-style: none none none solid; // It is needed or it gets overridden
 
         &:dir(rtl) { border-style: none solid none none; }
index eed9cf5fafab0d5bf5c747f264193f277b48a729..be8f16df3e9805abd3cba9a74cd491bbe592dac4 100644 (file)
@@ -1521,6 +1521,8 @@ spinbutton:not(.vertical) {
     border: none;
     border-radius: 0;
     box-shadow: none; }
+    spinbutton:not(.vertical) entry:backdrop:disabled {
+      background-color: transparent; }
   spinbutton:not(.vertical) button {
     min-height: 16px;
     margin: 0;
@@ -1550,7 +1552,7 @@ spinbutton:not(.vertical) {
       transition: 200ms ease-out; }
     spinbutton:not(.vertical) button:backdrop:disabled {
       color: rgba(93, 103, 103, 0.3);
-      background-image: none;
+      background-color: transparent;
       border-style: none none none solid; }
       spinbutton:not(.vertical) button:backdrop:disabled:dir(rtl) {
         border-style: none solid none none; }
index 96df7ca8a511ebfc94acd726723bd9e5f4006905..70730b366a9fa6210c3576ea81b1f0ee3f5558dc 100644 (file)
@@ -1528,6 +1528,8 @@ spinbutton:not(.vertical) {
     border: none;
     border-radius: 0;
     box-shadow: none; }
+    spinbutton:not(.vertical) entry:backdrop:disabled {
+      background-color: transparent; }
   spinbutton:not(.vertical) button {
     min-height: 16px;
     margin: 0;
@@ -1557,7 +1559,7 @@ spinbutton:not(.vertical) {
       transition: 200ms ease-out; }
     spinbutton:not(.vertical) button:backdrop:disabled {
       color: rgba(195, 195, 192, 0.3);
-      background-image: none;
+      background-color: transparent;
       border-style: none none none solid; }
       spinbutton:not(.vertical) button:backdrop:disabled:dir(rtl) {
         border-style: none solid none none; }